package com.bjc.principle.decorator.demo2;

/**
 * @program: DesignPattern
 * @description: 装饰类
 * @author: bjc
 * @create: 2020-12-30 18:37
 */
public abstract class CarDecorator {

    private Car car;

    public Car getCar() {
        return car;
    }

    public void setCar(Car car) {
        this.car = car;
    }

    public CarDecorator(Car car) {
        this.car = car;
    }

    public abstract void show();
}
